package org.sunxin.ch11.beans;

import java.io.Serializable;

public class UserBean implements Serializable
{
    /**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	private String name;
    private int age;
    private String education;
    private String email;
    
    public UserBean(){}
    
    public UserBean(String name,int age,String education,String email)
    {
        this.name=name;
        this.age=age;
        this.education=education;
        this.email=email;
    }
    public String getName()
    {
        return name;
    }
    
    public void setName(String name)
    {
        this.name=name;
    }
    
    public int getAge()
    {
        return age;
    }    
    
    public void setAge(int age)
    {
        this.age=age;
    }
    
    public String getEducation()
    {
        return education;
    }
    
    public void setEducation(String education)
    {
        this.education=education;
    }
    
    public void setEmail(String email)
    {
        this.email=email;
    }
    
    public String getEmail()
    {
        return email;
    }
}